home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr44 / frasrc19.zip / FRACTINT.MAK < prev    next >
Text File  |  1995-03-04  |  6KB  |  251 lines

  1.  
  2. # Note that frachelp.mak and fractint.mak can't be combined into a single
  3. # make file because with MSC6 we need to use "NMK", to have enough memory
  4. # available for the compiler.  NMK would not trigger subsequent recompiles
  5. # due to a rebuild of helpdefs.h file if we used a single step.
  6.  
  7. # the following klooge lets us define an alternate link/def file for 
  8. # the new overlay structure available under MSC7
  9.  
  10. !ifdef C7
  11. DEFFILE  = fractint.def
  12. LINKFILE = fractint.lnk
  13. LINKER="link /dynamic:1024 $(LINKER)"
  14. !else
  15. DEFFILE  = 
  16. LINKFILE = fractint.lnk
  17. !endif
  18.  
  19. # Next is a pseudo-target for nmake/nmk.  It just generates harmless
  20. # warnings with make.
  21.  
  22. all : fractint.exe
  23.  
  24. .asm.obj:
  25.     $(AS) $*; >> f_errs.txt
  26. # for Quick Assembler
  27. #       $(AS) $*.asm
  28.  
  29. .c.obj:
  30.       $(CC) /AM /W4 /FPi /c $(OptT) $*.c >> f_errs.txt
  31.  
  32. Optsize = $(CC) /AM /W4 /FPi /c $(OptS) $*.c >> f_errs.txt
  33.  
  34. Optnoalias = $(CC) /AM /W4 /FPi /c $(OptN) $*.c >> f_errs.txt
  35.  
  36. lorenz.obj : lorenz.c fractint.h fractype.h
  37.  
  38. lsys.obj : lsys.c fractint.h lsys.h
  39.  
  40. lsysa.obj: lsysa.asm
  41.  
  42. plot3d.obj : plot3d.c fractint.h fractype.h
  43.  
  44. 3d.obj : 3d.c fractint.h
  45.  
  46. fractals.obj : fractals.c fractint.h fractype.h mpmath.h helpdefs.h
  47.  
  48. fractalp.obj : fractalp.c fractint.h fractype.h mpmath.h helpdefs.h
  49.  
  50. fractalb.obj : fractalb.c fractint.h fractype.h bignum.h helpdefs.h
  51.  
  52. calcfrac.obj : calcfrac.c fractint.h mpmath.h
  53.  
  54. miscfrac.obj : miscfrac.c fractint.h mpmath.h
  55.  
  56. fracsubr.obj : fracsubr.c fractint.h helpdefs.h
  57.     $(Optnoalias)
  58.        
  59. jiim.obj : jiim.c helpdefs.h
  60.  
  61. fracsuba.obj : fracsuba.asm
  62.  
  63. parser.obj : parser.c fractint.h mpmath.h
  64.     $(Optnoalias)
  65.  
  66. parserfp.obj : parserfp.c fractint.h mpmath.h
  67.     $(Optnoalias)
  68.  
  69. parsera.obj: parsera.asm
  70. # for MASM
  71.     $(AS) /e parsera;
  72. # for QuickAssembler
  73. #   $(AS) /FPi parsera.asm
  74.  
  75. calcmand.obj : calcmand.asm
  76.  
  77. calmanfp.obj : calmanfp.asm
  78. # for MASM
  79.     $(AS) /e calmanfp;
  80. # for QuickAssembler
  81. #   $(AS) /FPi calmanfp.asm
  82.  
  83. cmdfiles.obj : cmdfiles.c fractint.h
  84.     $(Optsize)
  85.  
  86. loadfile.obj : loadfile.c fractint.h fractype.h
  87.     $(Optsize)
  88.  
  89. loadfdos.obj : loadfdos.c fractint.h helpdefs.h
  90.     $(Optsize)
  91.  
  92. decoder.obj : decoder.c fractint.h
  93.  
  94. diskvid.obj : diskvid.c fractint.h
  95.  
  96. encoder.obj : encoder.c fractint.h fractype.h
  97.  
  98. fr8514a.obj : fr8514a.asm
  99.  
  100. hgcfra.obj : hgcfra.asm
  101.  
  102. fractint.obj : fractint.c fractint.h fractype.h helpdefs.h
  103.     $(Optsize)
  104.  
  105. framain2.obj : framain2.c fractint.h fractype.h helpdefs.h
  106.     $(Optsize)
  107.  
  108. video.obj : video.asm
  109.  
  110. general.obj : general.asm
  111.  
  112. gifview.obj : gifview.c fractint.h
  113.  
  114. tgaview.obj : tgaview.c fractint.h targa_lc.h port.h
  115.  
  116. help.obj : help.c fractint.h helpdefs.h helpcom.h
  117.     $(Optsize)
  118.  
  119. intro.obj : intro.c fractint.h helpdefs.h
  120.     $(Optsize)
  121.  
  122. line3d.obj : line3d.c fractint.h
  123.  
  124. newton.obj : newton.asm
  125.     $(AS) /e newton;
  126.  
  127. printer.obj : printer.c fractint.h
  128.     $(Optsize)
  129.  
  130. prompts1.obj : prompts1.c fractint.h fractype.h helpdefs.h
  131.     $(Optsize)
  132.  
  133. prompts2.obj : prompts2.c fractint.h fractype.h helpdefs.h
  134.     $(Optsize)
  135.  
  136. rotate.obj : rotate.c fractint.h helpdefs.h
  137.     $(Optsize)
  138.  
  139. editpal.obj : editpal.c fractint.h
  140.     $(Optsize)
  141.  
  142. testpt.obj: testpt.c fractint.h
  143.  
  144. targa.obj : targa.c targa.h fractint.h
  145.  
  146. loadmap.obj : loadmap.c targa.h fractint.h
  147.     $(Optsize)
  148.  
  149. yourvid.obj : yourvid.c
  150.  
  151. fpu387.obj : fpu387.asm
  152.  
  153. fpu087.obj : fpu087.asm
  154.     $(AS) /e fpu087;
  155.  
  156. f16.obj : f16.c targa_lc.h
  157.  
  158. mpmath_c.obj : mpmath_c.c mpmath.h
  159.  
  160. hcmplx.obj : hcmplx.c fractint.h
  161.  
  162. mpmath_a.obj : mpmath_a.asm
  163.  
  164. jb.obj : jb.c fractint.h helpdefs.h
  165.  
  166. zoom.obj : zoom.c fractint.h
  167.     $(Optnoalias)
  168. #    $(Optsize)
  169.  
  170. miscres.obj : miscres.c fractint.h fractype.h helpdefs.h
  171.     $(Optsize)
  172.  
  173. miscovl.obj : miscovl.c fractint.h fractype.h helpdefs.h
  174.     $(Optsize)
  175.  
  176. realdos.obj : realdos.c fractint.h helpdefs.h
  177.     $(Optsize)
  178.  
  179. tplus.obj : tplus.c tplus.h
  180.  
  181. tplus_a.obj : tplus_a.asm
  182.  
  183. lyapunov.obj : lyapunov.asm
  184.     $(AS) /e lyapunov;
  185.  
  186. slideshw.obj : slideshw.c
  187.     $(Optsize)
  188.  
  189. bignumc.obj : bignumc.c bignum.h
  190.     $(Optnoalias)
  191.  
  192. bignum.obj : bignum.c bignum.h
  193.     $(Optnoalias)
  194.  
  195. biginit.obj : biginit.c bignum.h biginit.h
  196.     $(Optnoalias)
  197.  
  198. bigflt.obj : bigflt.c bignum.h bigflt.h
  199.     $(Optnoalias)
  200.  
  201. bigfltc.obj : bigfltc.c bignum.h bigflt.h
  202.     $(Optnoalias)
  203.  
  204. bignuma.obj : bignuma.asm
  205.  
  206. bigflta.obj : bigflta.asm
  207. # for MASM
  208.     $(AS) /e bigflta.asm;
  209. # for QuickAssembler
  210. #   $(AS) /FPi bigflta.asm
  211.  
  212. stereo.obj : stereo.c helpdefs.h 
  213.  
  214. ant.obj : ant.c helpdefs.h
  215.  
  216. frasetup.obj : frasetup.c 
  217.  
  218. lsysf.obj : lsysf.c fractint.h lsys.h
  219.  
  220. lsysaf.obj: lsysaf.asm
  221. # for MASM
  222.     $(AS) /e lsysaf.asm;
  223. # for QuickAssembler
  224. #   $(AS) /FPi lsysaf.asm
  225.  
  226. fractint.exe : fractint.obj help.obj loadfile.obj encoder.obj gifview.obj \
  227.      general.obj calcmand.obj calmanfp.obj fractals.obj fractalp.obj calcfrac.obj \
  228.      testpt.obj decoder.obj rotate.obj yourvid.obj prompts1.obj prompts2.obj parser.obj \
  229.      parserfp.obj parsera.obj diskvid.obj line3d.obj 3d.obj newton.obj cmdfiles.obj \
  230.      intro.obj slideshw.obj jiim.obj miscfrac.obj \
  231.      targa.obj loadmap.obj printer.obj fracsubr.obj fracsuba.obj \
  232.      video.obj tgaview.obj f16.obj fr8514a.obj loadfdos.obj stereo.obj\
  233.      hgcfra.obj fpu087.obj fpu387.obj mpmath_c.obj mpmath_a.obj \
  234.      lorenz.obj plot3d.obj jb.obj zoom.obj miscres.obj miscovl.obj \
  235.      realdos.obj lsys.obj lsysa.obj editpal.obj tplus.obj tplus_a.obj \
  236.      lyapunov.obj fractint.hlp hcmplx.obj biginit.obj bignuma.obj bignum.obj bigflt.obj \
  237.      bigfltc.obj bigflta.obj fractalb.obj ant.obj frasetup.obj framain2.obj \
  238.      lsysf.obj lsysaf.obj \
  239.      $(DEFFILE) $(LINKFILE)
  240.     $(LINKER) /ST:9000 /SE:210 /PACKC /F /NOE @$(LINKFILE) > foo
  241. !ifdef C7
  242.         @echo (Any overlay_thunks (L4059) warnings from the linker are harmless) >> foo
  243. !endif
  244.         more < f_errs.txt
  245.     type foo
  246.         
  247. !ifndef DEBUG
  248.     hc /a
  249. !endif
  250.  
  251.